package comits.business.tiers.dao;//

import java.util.List;

import comits.business.tiers.metiers.HistoriqueVente;
import comits.business.tiers.metiers.Prevision;
import org.hibernate.SQLQuery;

public interface PrevisionDAO {

//final  float alpha = (float)0.3;
//final  float beta = (float) 0.1;
//final  float gamma = (float) 0.2;
Prevision getPrevMois(int annee,String mois, int numBtq, int numPdt);
//public SQLquery getTypeSql(String typeBase);
public void calculStAn1(int numsite, int numpdt, String typeBase);
public void save(Prevision prev, String typeBase);
public void calculStAn2(int numsite, int numpdt, float alpha, float beta, float gamma, String typeBase);
public void calculPrevHorizon(int numsite, int numpdt, int horizon, String typeBase);
//public List<Prevision> PrevHistoTest ();
public float MoyLiss(float qtt, float st, float a0t, float alt, float alpha);
public float TendLiss(float MoyLiss, float st, float a0t, float alt, float beta);
public float Sais(float qtt, float MoyLiss, float st, float gamma);
public float QTT(float MoyLiss, float TendLiss, float st);
public List<Prevision> getListPrevGraph(int numsite);
}